﻿package com.freshcity.graphics
{
	import flash.display.Sprite;
	
	public class Background extends Sprite
	{
		public var nearHouse:NearStopHouse;
		public var farHouse:FarStopHouse;
		public var busStop:BusStop;
		public var farRoadHouse:FarRoadHouse;
		public var nearRoadHouse:NearRoadHouse;
		public var busView:BusView;
		
		public function Background()
		{
			super();
			this.mouseEnabled = false;
			this.tabEnabled = false;
			//this.cacheAsBitmap = true;
			
			/*
			farHouse = new FarStopHouse();
			farHouse.y = 600;
			addChild(farHouse);	
			nearHouse = new NearStopHouse();
			nearHouse.y = 600;
			addChild(nearHouse);	

			busStop = new BusStop();
			busStop.y = 600;
			busStop.x = 720;
			addChild(busStop);				

			farRoadHouse = new FarRoadHouse();
			farRoadHouse.y = 600;
			farRoadHouse.x = 800;
			addChild(farRoadHouse);	
			nearRoadHouse = new NearRoadHouse();
			nearRoadHouse.y = 600;
			nearRoadHouse.x = 800;
			addChild(nearRoadHouse);
			*/
			
			busView = new BusView();
			busView.y = 600;
			//busView.gotoAndStop(0);
			//addChild(busView);
		}
	}
}